package my.soft.aiteacher.common.pojo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Builder;
import lombok.Data;
import my.soft.aiteacher.teacher.pojo.CoursesVo;
import my.soft.aiteacher.teacher.pojo.FileUpload;
import my.soft.aiteacher.teacher.pojo.VideoInformationType;

import java.time.LocalDateTime;

@Data
@Builder
public class VideoInformationVo {
    private Integer id;

    /**
     * 关联文件Id
     */
    private FileUpload fileInformation;

    /**
     * 关联用户
     */
    private UserVo userInformation;

    /**
     * 标题
     */
    private String title;

    /**
     * 视频描述
     */
    private String description;


    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 难度 0低级 1中级 2高级
     */
    private Integer difficulty;

    /**
     * 标签id
     */
    private Integer tags;

    /**
     * 是否已发布
     */
    private Integer published;
    /**
     * 视频地址
     */
    private String videoUrl;

    private Double starRatings;

    private Long viewCount;
    private CoursesVo coursesInformation;
    private VideoInformationType videoInformationType;


}
